package com.edooschool.oral.arithmetic.processor;

import com.demo2do.core.wechat.entity.auth.WebAuthLogin;
import com.demo2do.core.wechat.entity.cfg.JsConfig;
import com.demo2do.core.wechat.entity.token.Token;

/**
 * 
 * @author mohanlan
 *
 */
public interface WechatProcessor {
    
    /**
     * 
     * @return
     */
    public Token requestAccessToken();
    
    /**
     * 
     * @param curl
     * @return
     */
    public JsConfig generateJsConfig(String curl);
    
    /**
     * 
     * @param mediaId
     * @return
     */
    public String generateMediaUrl(String mediaId);
    
    /**
     * 
     * @param uuid
     * @return
     */
    public WebAuthLogin login(String uuid);
    
}
